package com.ruoyi.project.mgcmanage.service;


import com.ruoyi.project.mgcmanage.domain.Medicine;

import java.util.List;

public interface IMedicineService {

    //多表查询，查询所有药品，及药品厂家
    List<Medicine> selectAll(Medicine medicine);

    //添加药品信息
    int addMedicine(Medicine medicine);

    //获取主键id
    Medicine getById(int mid);

    //修改药品功能
    int updateMedicine(Medicine medicine);

    //删除药品功能
    int deleteMedicine(int[] mids);
}
